import request from "../utils/request.ts"

export function login(data:any):Promise<any> {
    return request({
        method: 'POST',
        url: '/login',
        data: data,
    })
}

export function getCaptcha():Promise<any> {
    return request({
        method: 'GET',
        url: "/captchaImage"
    })
}
